/*
* Copyright 2009 NOR_/D Labs <http://labs.nortd.com>
*
* This file is part of SceneExpression.
* SceneExpression is free software: you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License 
* as published by the Free Software Foundation, either version 3 of 
* the License, or (at your option) any later version. For details
* see <http://www.gnu.org/licenses/>.
*
* * *
* 
*/

#ifndef SX_PANEL
#define SX_PANEL


#include "sxWidget.h"



class sxPanelWidget:  public sxWidget {
    public:
  
        sxPanelWidget();
                
        virtual void reshape();        
        void setLabelColor( float r, float g, float b, float a );        

        void update();  // frame event        
        
        bool touchDown( sxTouch& touch );
        bool touchMove( sxTouch& touch );
        bool touchUp( sxTouch& touch );
    
    protected:
        std::string _defaultTypeface;
        osg::ref_ptr<osgText::Text>  _label;
};



#endif